Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Chart Namespace / ListBase<T> Class / Contains Method
The object to locate in the ListBase.


In This Topic
    Contains Method (ListBase<T>)
    In This Topic
    Determines whether an element is in the ListBase.
    Syntax
    'Declaration
     
    Public Overridable Function Contains( _
       ByVal item As T _
    ) As Boolean
    'Usage
     
    Dim instance As ListBase(Of T)
    Dim item As T
    Dim value As Boolean
     
    value = instance.Contains(item)
    public virtual bool Contains( 
       T item
    )

    Parameters

    item
    The object to locate in the ListBase.

    Return Value

    true if the Object is found in the ListBase; otherwise, false.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also